﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml;

namespace CivLib
{
    /// <summary>
    /// Base object for all other objects in CivLib
    /// </summary>
    public class CivObj
    {
        /// <summary>
        /// Defualt constructor for CivObj
        /// </summary>
        public CivObj() { ;}


        /// <summary>
        /// Method for reading data into the object
        /// </summary>
        /// <param name="a_document">Document to be parsed</param>
        public virtual void Read(XmlDocument a_document)
        {
            ;
        }

        /// <summary>
        /// Method for writing data out of the object
        /// </summary>
        /// <param name="a_document">Document to be written to</param>
        public virtual void Write(XmlDocument a_document)
        {
            ;
        }

    }
}
